package exception;

import java.net.MalformedURLException;
import java.net.URL;

public class NeedNetErrorMain {
	
	public static void main(String[] args) {
		
		try {
			String urlString = "http://www.naver.com";
			
			URL url = new URL("http://www.naver.com");
			System.out.println("URL: " + url.toString());
			
		} catch (MalformedURLException e) {
			e.printStackTrace();
		}
		
	}
	
}
